home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-08-08 | 890 b | 29 lines |
- C= CC -I. -I../../CC
- FLAGS=
-
- ll: tst
-
- st: tst.o in.o out.o main.o
- $(CC) tst.o in.o out.o main.o -o tst
-
- st.o: 8_6_filebuf.h 8_6_stream.h istream.h ostream.h stream.h 8_6_alloc.c 8_6_c1.c 8_6_c2.c 8_6_dest.c 8_6_doalloc.c 8_6_fbclose.c 8_6_fbopen.c 8_6_fbover.c 8_6_fbunder.c 8_6_init.c 8_6_over.c 8_6_setbuf.c 8_6_sgetc.c 8_6_snextc.c 8_6_spback.c 8_6_sputc.c 8_6_stossc.c 8_6_under.c tst.c
- $(CC) $(CFLAGS) -c tst.c
-
- n.o: in.c 8_6_filebuf.h 8_6_stream.h filebuf.h istream.h ostream.h stream.h streambuf.h
- $(CC) $(CFLAGS) -c in.c
-
- ut.o: out.c 8_6_filebuf.h 8_6_stream.h filebuf.h istream.h ostream.h stream.h streambuf.h
- $(CC) $(CFLAGS) -c out.c
-
- ain.o: main.c 8_6_filebuf.h 8_6_stream.h filebuf.h istream.h ostream.h stream.h streambuf.h
- $(CC) $(CFLAGS) -c main.c
-
- MP= tst.cmp
- UT= tst.out
-
- st.out: tst tst.in ; tst < tst.in > tst.out
-
- est: $(CMP) $(OUT)
- cmp tst.out tst.cmp
- @echo test done
-